<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>汉中旅游 - 首页</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="css/styles.css" rel="stylesheet">
</head>
<body>
    <!-- 顶部导航栏 -->
    <header id="navbar" class="navbar">
        <div class="container">
            <div class="navbar-container">
                <a href="index.html" class="logo">
                    <img src="images/logo.png" alt="汉中旅游Logo">
                    <span class="logo-text">汉中旅游</span>
                </a>
                
                <!-- 桌面导航 -->
                <nav class="nav-links">
                    <a href="index.html" class="nav-link">首页</a>
                    <div class="dropdown">
                        <a href="scenic.html" class="nav-link">
                            景点介绍
                            <i class="fa fa-chevron-down"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a href="scenic.html#zhongnan">古汉台</a>
                            <a href="scenic.html#libai">武侯祠</a>
                            <a href="scenic.html#taibai">张良庙</a>
                        </div>
                    </div>
                    <a href="routes.html" class="nav-link">旅游线路</a>
                    <a href="guide.html" class="nav-link">旅游攻略</a>
                    <a href="food.html" class="nav-link">美食推荐</a>
                    <a href="culture.html" class="nav-link">汉文化活动</a>
                    <div class="dropdown">
                        <a href="#" class="nav-link">
                            更多
                            <i class="fa fa-chevron-down"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a href="contact.html">联系我们</a>
                            <a href="faq.html">常见问题</a>
                            <a href="login.html" class="login-link">登录/注册</a>
                        </div>
                    </div>
                    <!-- 用户信息区域 -->
                    <div class="user-info" style="display: none;">
                        <div class="dropdown">
                            <a href="#" class="nav-link user-link">
                                <img src="images/avatar.jpg" alt="用户头像" class="user-avatar">
                                <span class="username">用户名</span>
                                <i class="fa fa-chevron-down"></i>
                            </a>
                            <div class="dropdown-menu">
                                <a href="profile.html">个人中心</a>
                                <a href="orders.html">我的订单</a>
                                <a href="#" class="logout-link">退出登录</a>
                            </div>
                        </div>
                    </div>
                </nav>
                
                <!-- 移动端菜单按钮 -->
                <button id="menu-toggle" class="menu-toggle">
                    <i class="fa fa-bars"></i>
                </button>
            </div>
        </div>
        
        <!-- 移动端导航菜单 -->
        <div id="mobile-menu" class="mobile-menu">
            <div class="mobile-menu-container">
                <a href="index.html">首页</a>
                <div class="mobile-dropdown">
                    <button class="mobile-dropdown-toggle">
                        景点介绍
                        <i class="fa fa-chevron-down"></i>
                    </button>
                    <div class="mobile-dropdown-menu">
                        <a href="scenic.html#zhongnan">古汉台</a>
                        <a href="scenic.html#libai">武侯祠</a>
                        <a href="scenic.html#taibai">张良庙</a>
                    </div>
                </div>
                <a href="routes.html">旅游线路</a>
                <a href="guide.html">旅游攻略</a>
                <a href="food.html">美食推荐</a>
                <a href="culture.html">汉文化活动</a>
                <div class="mobile-dropdown">
                    <button class="mobile-dropdown-toggle">
                        更多
                        <i class="fa fa-chevron-down"></i>
                    </button>
                    <div class="mobile-dropdown-menu">
                        <a href="contact.html">联系我们</a>
                        <a href="faq.html">常见问题</a>
                        <a href="login.html">登录/注册</a>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <main>
        <!-- 英雄轮播图区域 -->
        <section class="carousel">
            <div class="carousel-slides">
                <div class="carousel-slide">
                    <img src="images/hero1.jpg" alt="汉中自然风光">
                    <div class="carousel-overlay">
                        <div class="carousel-content">
                            <h1 class="carousel-title">千年汉文化，魅力新汉中</h1>
                            <p class="carousel-description">探索历史悠久的文化名城，感受大自然的鬼斧神工</p>
                            <a href="scenic.html" class="carousel-button">探索景点</a>
                        </div>
                    </div>
                </div>
                <div class="carousel-slide">
                    <img src="images/hero2.jpg" alt="汉中历史古迹">
                    <div class="carousel-overlay">
                        <div class="carousel-content">
                            <h1 class="carousel-title">追溯三国文化，感受历史韵味</h1>
                            <p class="carousel-description">探访诸葛亮六出祁山的历史遗迹，感受三国文化的深厚底蕴</p>
                            <a href="culture.html" class="carousel-button">文化之旅</a>
                        </div>
                    </div>
                </div>
                <div class="carousel-slide">
                    <img src="images/hero3.jpg" alt="汉中美食">
                    <div class="carousel-overlay">
                        <div class="carousel-content">
                            <h1 class="carousel-title">舌尖上的汉中</h1>
                            <p class="carousel-description">品尝地道美食，体验独特风味</p>
                            <a href="food.html" class="carousel-button">美食探索</a>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 轮播指示器 -->
            <div class="carousel-dots">
                <span class="carousel-dot active" data-index="0"></span>
                <span class="carousel-dot" data-index="1"></span>
                <span class="carousel-dot" data-index="2"></span>
            </div>
            
            <!-- 轮播控制按钮 -->
            <button class="carousel-control prev">
                <i class="fa fa-chevron-left"></i>
            </button>
            <button class="carousel-control next">
                <i class="fa fa-chevron-right"></i>
            </button>
        </section>

        <!-- 景点推荐区域 -->
        <section class="section">
            <div class="container">
                <h2 class="section-title">热门景点</h2>
                <p class="section-description">探索汉中最受欢迎的旅游景点，感受千年文化与自然风光的完美融合</p>
                
                <div class="card-grid">
                    <!-- 景点卡片 1 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="scenic.html#zhongnan">
                                <img src="images/scenic1.jpg" alt="古汉台">
                                <div class="card-overlay">
                                    <h3 class="card-title">古汉台</h3>
                                </div>
                            </a>
                        </div>
                        <div class="card-content">
                            <p class="card-description">古汉台是刘邦在汉中当汉王时所建的府邸，现为汉中博物馆所在地，珍藏有众多历史文物。</p>
                            <div class="card-footer">
                                <span class="card-location">
                                    <i class="fa fa-map-marker"></i> 汉中市汉台区
                                </span>
                                <a href="scenic.html#zhongnan" class="card-link">
                                    了解更多 <i class="fa fa-arrow-right"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 景点卡片 2 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="scenic.html#libai">
                                <img src="images/scenic2.jpg" alt="武侯祠">
                                <div class="card-overlay">
                                    <h3 class="card-title">武侯祠</h3>
                                </div>
                            </a>
                        </div>
                        <div class="card-content">
                            <p class="card-description">武侯祠是纪念诸葛亮的专祠，始建于蜀汉景耀六年，是全国最早的武侯祠，有"天下第一武侯祠"之称。</p>
                            <div class="card-footer">
                                <span class="card-location">
                                    <i class="fa fa-map-marker"></i> 汉中市勉县
                                </span>
                                <a href="scenic.html#libai" class="card-link">
                                    了解更多 <i class="fa fa-arrow-right"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 景点卡片 3 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="scenic.html#taibai">
                                <img src="images/scenic3.jpg" alt="张良庙">
                                <div class="card-overlay">
                                    <h3 class="card-title">张良庙</h3>
                                </div>
                            </a>
                        </div>
                        <div class="card-content">
                            <p class="card-description">张良庙是祭祀西汉开国功臣张良的祠庙，坐落于紫柏山脚下，集南方园林与北方殿堂风格于一体。</p>
                            <div class="card-footer">
                                <span class="card-location">
                                    <i class="fa fa-map-marker"></i> 汉中市留坝县
                                </span>
                                <a href="scenic.html#taibai" class="card-link">
                                    了解更多 <i class="fa fa-arrow-right"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="text-center">
                    <a href="scenic.html" class="button">查看全部景点</a>
                </div>
            </div>
        </section>

        <!-- 旅游线路推荐 -->
        <section class="section">
            <div class="container">
                <h2 class="section-title">精选旅游线路</h2>
                <p class="section-description">为您精心设计的汉中旅游路线，带您领略汉中的自然风光与人文历史</p>
                
                <div class="card-grid">
                    <!-- 线路卡片 1 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="routes.html#culture">
                                <img src="images/route1.jpg" alt="历史文化之旅">
                                <div class="card-overlay">
                                    <h3 class="card-title">历史文化之旅</h3>
                                </div>
                            </a>
                        </div>
                        <div class="card-content">
                            <p class="card-description">探索汉中丰富的历史文化遗产，探访古汉台、武侯祠、张良庙等著名景点，感受三国文化的魅力。</p>
                            <div class="card-footer">
                                <span class="card-duration">3天2晚</span>
                                <span class="card-location">
                                    <i class="fa fa-map-marker"></i> 古汉台、武侯祠、张良庙、石门栈道
                                </span>
                                <span class="card-price">¥899起</span>
                                <a href="routes.html#culture" class="card-link">
                                    查看详情 <i class="fa fa-arrow-right"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 线路卡片 2 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="routes.html#nature">
                                <img src="images/route2.jpg" alt="自然风光之旅">
                                <div class="card-overlay">
                                    <h3 class="card-title">自然风光之旅</h3>
                                </div>
                            </a>
                        </div>
                        <div class="card-content">
                            <p class="card-description">沉浸在汉中的自然美景中，游览黎坪国家森林公园、华阳古镇、朱鹮自然保护区，体验大自然的魅力。</p>
                            <div class="card-footer">
                                <span class="card-duration">4天3晚</span>
                                <span class="card-location">
                                    <i class="fa fa-map-marker"></i> 黎坪森林公园、华阳古镇、朱鹮保护区、龙头山
                                </span>
                                <span class="card-price">¥1299起</span>
                                <a href="routes.html#nature" class="card-link">
                                    查看详情 <i class="fa fa-arrow-right"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="text-center">
                    <a href="routes.html" class="button">查看全部线路</a>
                </div>
            </div>
        </section>

        <!-- 美食推荐区域 -->
        <section class="section">
            <div class="container">
                <h2 class="section-title">舌尖上的汉中</h2>
                <p class="section-description">品尝地道的汉中美食，感受独特的地方风味</p>
                
                <div class="card-grid">
                    <!-- 美食卡片 1 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="food.html#mianpi">
                                <img src="images/food1.jpg" alt="汉中热面皮">
                            </a>
                        </div>
                        <div class="card-content">
                            <h3 class="card-title">汉中热面皮</h3>
                            <p class="card-description">汉中热面皮是陕西汉中地区特色小吃，以其软糯的口感和独特的调料闻名。</p>
                            <a href="food.html#mianpi" class="card-link">
                                了解更多 <i class="fa fa-angle-right"></i>
                            </a>
                        </div>
                    </div>
                    
                    <!-- 美食卡片 2 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="food.html#caidoufu">
                                <img src="images/food2.jpg" alt="菜豆腐">
                            </a>
                        </div>
                        <div class="card-content">
                            <h3 class="card-title">菜豆腐</h3>
                            <p class="card-description">菜豆腐是汉中地区的传统美食，口感清爽，营养丰富，是当地人家常便饭的首选。</p>
                            <a href="food.html#caidoufu" class="card-link">
                                了解更多 <i class="fa fa-angle-right"></i>
                            </a>
                        </div>
                    </div>
                    
                    <!-- 美食卡片 3 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="food.html#guanguancha">
                                <img src="images/food3.jpg" alt="罐罐茶">
                            </a>
                        </div>
                        <div class="card-content">
                            <h3 class="card-title">罐罐茶</h3>
                            <p class="card-description">罐罐茶是陕南山区的传统饮品，特别是在汉中地区尤为流行，是当地茶文化的重要组成部分。</p>
                            <a href="food.html#guanguancha" class="card-link">
                                了解更多 <i class="fa fa-angle-right"></i>
                            </a>
                        </div>
                    </div>
                    
                    <!-- 美食卡片 4 -->
                    <div class="card">
                        <div class="card-image">
                            <a href="food.html#niurougan">
                                <img src="images/food4.jpg" alt="西乡牛肉干">
                            </a>
                        </div>
                        <div class="card-content">
                            <h3 class="card-title">西乡牛肉干</h3>
                            <p class="card-description">西乡牛肉干是汉中市西乡县的特色美食，肉质鲜嫩，咸香可口，是理想的旅游伴手礼。</p>
                            <a href="food.html#niurougan" class="card-link">
                                了解更多 <i class="fa fa-angle-right"></i>
                            </a>
                        </div>
                    </div>
                </div>
                
                <div class="text-center">
                    <a href="food.html" class="button">发现更多美食</a>
                </div>
            </div>
        </section>

        <!-- 旅游攻略区域 -->
        <section class="section">
            <div class="container">
                <h2 class="section-title">旅游攻略</h2>
                <p class="section-description">提供实用的汉中旅游指南，帮助您规划完美的旅程</p>
                
                <div class="card-grid">
                    <!-- 攻略卡片 1 -->
                    <div class="card">
                        <a href="guide.html#transport" class="card-link-wrapper">
                            <div class="card-image">
                                <i class="fa fa-map-signs"></i>
                            </div>
                            <div class="card-content">
                                <h3 class="card-title">交通指南</h3>
                                <p class="card-description">了解如何到达汉中以及市内交通方式，包括飞机、火车、长途汽车等多种选择。</p>
                                <ul class="card-list">
                                    <li>汉中城固机场航线信息</li>
                                    <li>汉中火车站车次查询</li>
                                    <li>市内公共交通及出租车</li>
                                </ul>
                                <span class="card-link">
                                    查看详情 <i class="fa fa-arrow-right"></i>
                                </span>
                            </div>
                        </a>
                    </div>
                    
                    <!-- 攻略卡片 2 -->
                    <div class="card">
                        <a href="guide.html#accommodation" class="card-link-wrapper">
                            <div class="card-image">
                                <i class="fa fa-bed"></i>
                            </div>
                            <div class="card-content">
                                <h3 class="card-title">住宿推荐</h3>
                                <p class="card-description">从豪华酒店到经济型客栈，为您推荐汉中各区域的优质住宿选择。</p>
                                <ul class="card-list">
                                    <li>市中心酒店推荐</li>
                                    <li>景区周边特色民宿</li>
                                    <li>不同预算的住宿选择</li>
                                </ul>
                                <span class="card-link">
                                    查看详情 <i class="fa fa-arrow-right"></i>
                                </span>
                            </div>
                        </a>
                    </div>
                    
                    <!-- 攻略卡片 3 -->
                    <div class="card">
                        <a href="guide.html#besttime" class="card-link-wrapper">
                            <div class="card-image">
                                <i class="fa fa-calendar"></i>
                            </div>
                            <div class="card-content">
                                <h3 class="card-title">最佳旅游时间</h3>
                                <p class="card-description">了解汉中四季气候特点，选择最适合您出行的旅游季节。</p>
                                <ul class="card-list">
                                    <li>春季油菜花观赏指南</li>
                                    <li>夏季避暑胜地推荐</li>
                                    <li>秋季红叶观赏攻略</li>
                                </ul>
                                <span class="card-link">
                                    查看详情 <i class="fa fa-arrow-right"></i>
                                </span>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </section>

        <!-- 订阅区域 -->
        <section class="section">
            <div class="container">
                <h2 class="section-title">订阅我们的新闻资讯</h2>
                <p class="section-description">获取最新的汉中旅游信息、优惠活动和独家攻略</p>
                <form id="subscribe-form" class="subscribe-form">
                    <input type="email" placeholder="请输入您的邮箱地址">
                    <button type="submit">立即订阅</button>
                    </form>
                <p class="section-text">我们尊重您的隐私，不会向第三方分享您的信息</p>
            </div>
        </section>
    </main>

    <!-- 页脚 -->
    <footer class="footer">
        <div class="container">
            <div class="footer-grid">
                <!-- 关于我们 -->
                <div class="footer-section">
                    <h3 class="footer-title">关于我们</h3>
                    <p class="footer-text">汉中旅游网致力于为游客提供全面、准确的汉中旅游信息，帮助您规划完美的汉中之旅。</p>
                    <div class="social-links">
                        <a href="#"><i class="fa fa-weibo"></i></a>
                        <a href="#"><i class="fa fa-wechat"></i></a>
                        <a href="#"><i class="fa fa-instagram"></i></a>
                        <a href="#"><i class="fa fa-youtube-play"></i></a>
                    </div>
                </div>
                
                <!-- 快速链接 -->
                <div class="footer-section">
                    <h3 class="footer-title">快速链接</h3>
                    <ul class="footer-links">
                        <li><a href="index.html">首页</a></li>
                        <li><a href="scenic.html">景点介绍</a></li>
                        <li><a href="routes.html">旅游线路</a></li>
                        <li><a href="guide.html">旅游攻略</a></li>
                        <li><a href="food.html">美食推荐</a></li>
                        <li><a href="culture.html">汉文化活动</a></li>
                    </ul>
                </div>
                
                <!-- 联系我们 -->
                <div class="footer-section">
                    <h3 class="footer-title">联系我们</h3>
                    <ul class="footer-links">
                        <li>
                            <i class="fa fa-map-marker"></i>
                            <span>陕西省汉中市汉台区东大街1号</span>
                        </li>
                        <li>
                            <i class="fa fa-phone"></i>
                            <span>0916-12345678</span>
                        </li>
                        <li>
                            <i class="fa fa-envelope"></i>
                            <span>info@hanzhongtourism.com</span>
                        </li>
                        <li>
                            <i class="fa fa-clock-o"></i>
                            <span>周一至周日 9:00-18:00</span>
                        </li>
                    </ul>
                </div>
                
                <!-- 下载应用 -->
                <div class="footer-section">
                    <h3 class="footer-title">下载我们的应用</h3>
                    <p class="footer-text">扫描微信二维码下载汉中旅游App，随时随地获取旅游信息</p>
                    <div class="qr-code">
                        <img src="images/qrcode.png" alt="下载二维码">
                    </div>
                    <div class="app-links">
                        <a href="#"><i class="fa fa-apple"></i></a>
                        <a href="#"><i class="fa fa-android"></i></a>
                    </div>
                </div>
            </div>
            
            <div class="footer-bottom">
                <p class="copyright">© 2025 汉中旅游网 版权所有 | 陕ICP备12345678号</p>
                <div class="footer-links">
                    <a href="#">隐私政策</a>
                    <a href="#">使用条款</a>
                    <a href="#">网站地图</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- 返回顶部按钮 -->
    <button id="back-to-top" class="back-to-top">
        <i class="fa fa-arrow-up"></i>
    </button>

    <!-- JavaScript -->
    <script src="js/script.js"></script>
    <script src="js/login.js"></script>
    <script src="js/user.js"></script>
</body>
</html>
    